package com.zhdl.modules.demo.dglProcess;

import com.zhdl.modules.demo.testprocess.ChildOptImp;
import com.zhdl.modules.process.BaseProcess;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class WorkPlace3Process extends BaseProcess {
    @Resource
    DGLProcessInitService dglProcessInitService;
    @Override
    public void initProcessList() {
        processBeanList = dglProcessInitService.initWorkPace3();
    }

    @Override
    public void initHardware() {
        super.initHardware();
        desc = "工位三";
        initProcessList();
        statusHolder.initComplete = true;
        statusHolder.setAuto(true);
        statusHolder.setOptInterface(new ChildOptImp(this));
    }
}
